﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace T4.Console.Db.Models
{
    [Table("Sys_ProcedureException")]
    public partial class Sys_ProcedureException
    {
        [Key]
        [StringLength(36)]
        public string Id { get; set; }
        [StringLength(200)]
        public string Remark { get; set; }
        [StringLength(128)]
        public string ErrorProcedure { get; set; }
        public int? ErrorNumber { get; set; }
        public int? ErrorSeverity { get; set; }
        public int? ErrorState { get; set; }
        public int? ErrorLine { get; set; }
        [StringLength(4000)]
        public string ErrorMessage { get; set; }
        [StringLength(36)]
        public string CreatedBy { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? CreatedTime { get; set; }
        [StringLength(36)]
        public string LastModifiedBy { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? LastModifiedTime { get; set; }
    }
}
